home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / PROGTOOL / FLI106C.ZIP;1 / BLFRESH.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1992-03-12  |  980 b   |  47 lines

  1. //
  2. // The Fusion Library Interface for DOS
  3. // Version 1.06c
  4. // Copyright (C) 1990, 1991, 1992
  5. // Software Dimensions
  6. //
  7. // BlazeClass
  8. //
  9.  
  10. #ifndef __BCPLUSPLUS__
  11. #pragma inline
  12. #endif
  13.  
  14. #include "fli.h"
  15. #include "colors.h"
  16.  
  17. #ifdef __BCPLUSPLUS__
  18. #pragma hdrstop
  19. #endif
  20.  
  21. #define I asm
  22.  
  23. //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  24. //
  25. // FreshWorkSpace()
  26. //
  27. // Refreshes the screen and provides a fresh workspace and hides the cursor
  28. //
  29. //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  30.  
  31. void BlazeClass::FreshWorkSpace()
  32. {
  33.   BlazeClass Blaze;
  34.  
  35.   MouseHide();
  36.  
  37.   Blaze.InvisibleCursor();
  38.  
  39.   Blaze.CharacterFill(0,1,Blaze.WhatWidth(),Blaze.WhatHeight()-2,
  40.     Colors.WorkSpace,176);
  41.   Blaze.CharacterRepeater(0,0,Blaze.WhatWidth(),Colors.MenuBarNormal,' ');
  42.   Blaze.CharacterRepeater(0,Blaze.WhatHeight()-1,Blaze.WhatWidth(),
  43.     Colors.PromptLineNormal,' ');
  44.  
  45.   MouseShow();
  46. }
  47.